Build classes and construct