added documentation
added default controller