Add model methods and controller method
change return statement to return also nb results
fix url naming bug, add markup
add styles