Anas branch

Committing mongodb as database. Setting up controllers for each page, index will now save the sequence in the db and load the design options page.