Inital code commit

Mostly working code, still a WIP