Got front-end working to a certain extent