Changed concept of Controllers to Http and Cli classes and reorganized accordingly