Added travis-ci and fixed coding standards issues

Added travis-ci to the module and fixed coding standards issues.