Added basic state managment, begun game flow