Merge pull request #13 from stmishra/master

Moved out persistence config, setup spring profiles config, moved Securi...
code formatting
code cleanup