EntryText class and sql for creating table