updated view class and added theme package