Merge pull request #7 from rajthilakmca/master

Fix master/slave json file creation problem
Remove db dependency in actions.go
Merge remote-tracking branch 'origin/master'

Conflicts:
	app/actions.go
Merge pull request #8 from indykish/master

Cleanup db references in actions.go
Add locations in json file