Return app correctly and set path based on dir
Renamed get_services to what