Move library and mod to distinct repos