Added pom code to automatically build output folder.
Added the makefile.
Changed to correctly identify the end of input stream (^D).
Merge branch 'features/updates-for-loki' into development