Split RMW into new file, did some cleaning up. Defined some new stuff in projpack