Move repository, improve domain listener, update tests & add composer