delete old packageManager
put resource and server in their own package