Added basic gameplay, did slight refactoring.