Use latest tinyvalidator
Move parameter handler to Controller class.