updated composer.json
code cleanup
added entity tests
key descriptor basics