Moving database scripts into app folder