added views files and spec tests