use newer core library version
add gson library
change lambda to method reference
switch to hibernate usage