Add comments and get rid of unused code
Add some doctests
Rename some variables
Add apply_layout method
Add InvalidLayoutException
Add some doctests
Remove some duplicate tests
Add block and condition args
Add docs