Move index.js from app/ to main folder. Fix db path