remove needless test & remove turbolinks
move controller code to lib
add spec