Some initial ideas and bits of framework
Chnage to in memory DB for now and fix a couple of JPA issues