added base template
begining data base work