java 1.8
Added dependency and databaseconfig