add Table.cs Record.cs and basic functions for database.cs