Moved common and services into rest
Moved server to ear