added main layout and services