Extract fetching code into a library

- Create ysslib.py with all code unrelated to command usage
- Generalize code for symbol length
- Make company name extraction optional
- Fix most pylint errors