refactor: put service into separate file
feat: title directive