first steps of initialization process implemented -> init database at start up
small changes in mainpanel constructor