main added

window opens, but still a nullpointerexception because there is no
entity in the list