moved database into src -- improved db scripts