add tests
update read me and provide default controller for an example