console functions, added report library, fix some console/cli bugs
fixes