created seperate db.erl for database file
comit changesMerge branch 'pin' of https://github.com/nexchanges/nexchanges.github.io into pin