Level branch

This is the latest working version.