Semi working initial commit.