create http namespace folder and split classes

Signed-off-by: Adam Rector <a.rector@kaspien.com>
refactor base class

Signed-off-by: Adam Rector <a.rector@kaspien.com>