fixed and overhauled the front end and refactored a lot of stuff.