Added DB setup, fixed project template