Added models
Moved retrieve notebooks method to own class
Started moving generate preview method to own class