Update OnLoad.php

Some thoughts
Update OnLoad.php
Update OnLoad.php
Update Layout.php

Shorter calling style
Merge pull request #8 from Sett/master

Storage section in the onLoad config and shorter calling style