Refactored to enable preview to work

@wachterjohannes the preview doesn't like it when there is "no data". So I have added some dummy data to make it happy.