services and directory prototype