added entity
moved src-files
added some tests for Entity