Added mouse support and freeball