modularizing code
add db
jshint changes
remove unused
Merge branch 'master' of https://github.com/Azimuth1/SARCAT