changed table names to plural, added autoload for db subdirectories