Core is moved inside core package
rest controllers are moved into rest package