Initial program parser - finds all tables