added CRUD funcionality, changed form layout