Do some general tidying up

Clean up some whitespace
Add comments
Remove storeconfigigs as a requirement
Merge pull request #1 from xaque208/tidy

Do some general tidying up