reef starter code

Apache license.