Initial code commit.

Yeah, it needs cleaning up. /OCD