migrating config to sql table and creating http api for hadoop jobs