refactored common constants into bootstrap.php
refactored Paper to Paper\Paper, replaced Spyc with symfony/yaml