Added simple generation of sqlite database from egdfile.