add createTable method to application