prepare for online testing

fix autoload controllers
change "RewriteBase"