Added Cost and associated classes. Updated Sql to read cost tables in database.