Separated object class to file
extracted libcanvas early, adding mouse support