Added maven profiles to all modules for dev/prod envs. Rewrote hdfs reader. Various fixes in all modules and pom xmls.