refactoring code, adding setting and common modules, adding hdfs and hive commands to move files and create data
added a few more comments