Added sh script for geberating phpdoc.
Removed tmp files.
Configureted unitTest environment. Added test for Core.