rc: customdefs: relocated all custom definitions