fix require paths, change name of rwm source file