fixed filesystem operations
added license,readme. Also added scrutinizer and travis build configuration
added more test case