Added package.json
Added a log method, with optional limit option