added level manager and input manager

still having trouble with switching between levels. seems like im have
problems with memory.