create config paths, create repository to handle all db query in order to using memcache later