assert return value of Connector::getData
introduce templates in views
move templates dir under views
reformat requireConfig