First batch of code; layout-test and stuff
Added comment explaining the basic idea behind the frontend