Rst looping fixed
Static files server repaired
Unused code removed