Cleaned up code
Added meek/singleton.php
Tidy source code, added docblocks