update time for background process

by default it should run only every 45 minutes.
do not set rubylib when deploying

it should not be required.
fix typo

fix type for cache name
fix sinatra app to perform retries
add apache license.