Organize termbox file

Simply moving around functions to more appropriate, findable locations.