added web config to gitignore
added some tests and refactored
Merge pull request #8 from Mikedgs/back_end

Back end