using long to store dates, cleanup
metadata and transactionInfo managed using spring data repository
migrated mdstore implementation, early tests