Initial commit for A14

Modified files from A13 to read/write from/to a database.