Add simple preview class

Logs events to console