making separate ROM class for doing ROM stuff