Made the main view look beautiful. Added code for edit modal