First commit, working code.