fixed static serve and added documentation