refactor example directory (now foo)