decoupling from old constants a bit, and making view class a bit smarter in initializing