Adding class based model Stack sample.