Massive rewrite, implmement supx web interface