creating token only once per an application
refactor to use string utils
rename metadata serice to metadata/api
making oauth app name random