Added shares since lastrecord fields
Implementation and small refactoring
Changed timestamp return from ms to seconds.
First complete version for gpu info

Inserts only gpu info in the database.