Updated Base Classes and added some samples.