Added Print* functions to log/ package.
Renamed api/ package to common/
Cosmetic changes.
Default logging is levelInfo.