added token generator service to api module