First major update

Updated the front end to the point where its actually usable
I also looked around the backend stuff and added some comments