Added guard for rspec
Added test_json for testing purposes
Simplified task class
Added Log and Logfile classes