Fixed some linting issues and switched from library to component for composer package.