Added frontend stuff. Lots of it