Added movement capabilities and fixed bugs