Move Main, Config and Resource to root rts package