Some refactoring for better encapsulation of HBase stuff and introducing application name to split different logs. only wrinting part implemented yet.