cleaned up directory and added example code