implemented gridcontroller with basic functionality to move object over
a grid