Still need to address checking data injected into xenstore need to convert string into dict or similar. Also todo PEP8 fixes