Inserting constructor method and load view with same name

Signed-off-by: Wilson Mendes <willmendesneto@gmail.com>
Inserting constructor method in model

Signed-off-by: Wilson Mendes <willmendesneto@gmail.com>