Rename plugin dir to services; core: implement database import