first code commit. previous revisions on old branch-da-stash in Gamefroot repo.