Split project into core and rs modules.