Added Element class to represent the files.
Started using Element class, added Title and now using "db".