build sqlite3 database from lib parsing
now properly accesses the sqlite database
added cell name to type map and pin direction map