Bugfix

 - fix bug with methaprogramming method definition
 - add path to views from gem