Added createThm to create the thm from the name
Added imageThm to constructor