Fetching card information from USOSapi

- USOSapi client
- card registration
- proper handling of interrupts (allows almost clean shutdown)