Improving structure:
- Divided base-code in 4 library files
- Added output via CLI
- Now usable without CLI as well