Added Form for DB and some DB code