package Ġcom . openc redo . cassandra . drone Ċ Ċ import Ġorg . map db . DB Ċ import Ġorg . map db . DB Maker Ċ import Ġorg . springframework . boot . Spring Application Ċ import Ġorg . springframework . boot . autoconfigure . SpringBoot Application Ċ import Ġorg . springframework . context . annotation . Bean Ċ Ċ @ SpringBoot Application Ċ open Ġclass ĠApplication Ġ{ ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġopen Ġfun Ġdb (): DB Ġ= ĠDB Maker . file DB (" storage "). close On Jvm Shutdown (). make (); Ċ Ċ } Ċ Ċ fun Ġmain ( args : ĠArray < String >) Ġ{ ĊĠĠĠ ĠSpring Application . run ( Application :: class . java , Ġ* args ) Ċ } ĊĊ