Add createTable method