Started porting application to work with HDFS

Signed-off-by: Archit Shukla <archishukla2@gmail.com>