Moved code from example/ to parent dir