build the complete application