Implemented --run (-r) option and created place where compute-db should be called