Purge commented out code
Purge unused buttons.
Initial save button.
Add ajax save method.
Add save point and connect to the database.