#20 added controllers and ajax handlers