Rough Prototype ready

Still missing data saving and sending functionality, but everything
else is working. template for stat view needs polishing