load services only if needed, fix file upload failure
ignoring test on sc
added .apt_generated
Fixed layered library and enabled in sample app