Added a simple integrate code that focuses on the use of classes