Adds some initial frontend stuff and fixes whitespacing.