Improvements

fixed token extracting mechanism
improved architecture (especially request method)
added caching authorization
added certificate
added some service files