POOisation
add methods to get width and height
add a few tests
resize -> downsize