Save employment data to database

- Save employment and companies to the database
- Fix detection of a new company