spec'ing return types
changed #get to return a hash
more return type checking and update of top to return a TimeTrap
updated #window to return a TimeTrap
more class checks on return type