made minor improvements, added documentation and tests stubs
Added Travis yml