BoardThing Beta code

Original BoardThing code used for the beta. Not very well commented.
Enter at one risk :)