Added Single Page App mode to module