Using Object.create and call for inheritance. Mem & imgview now inherits from window