made post request generic, introduced the use of json templates for post requests, structored run.rb a bit. created util module for file parsing