prepare for refactor
added jshint, abstracting db
update READMEw