added editing and adding interface, added tab view and model to code