added simple server functionality, fixed some html