Changes keyvalue loader
Splits http server into a separate file