Additional stuff

Created input frame and changed input method. I don't like the way that
it's getting so complicated so im going to change it in a new branch.