Fixing ongoing Control Issues

Rewriting all script used for controlling the chanracter to make it
simpler and less hacky when jumping between levels