Removing redundant code (duplicate bean registration) and H2 data file