added controller base class & added jump function