moves module stuff from .rc to main .rs file