Initial implementation of class unit