add phpunit for testing
bug fixes for Phrame\Generator + more TODOs
test copy on Phrame\Generator