made it one view class instead of two. now accepts options param as only arg and will add as property value to instance prototype.