Implemented mouse capure first version