Moved toJSON to BasicObject
Added replace method for views
Added templating engines and dataview