made it implement array access
added _dbFile property and __constructor
changed default database name slightly
added database file path as a param everywhere