Add registration, apache derby as db in memory, hibernate as jpa.