Cleaned up and added a tutorial