Added a new main function to get Torrents with orderBy parameter
Added a new function to get all torrents with orderBy parameter
Simplifying the other function that get torrents so they pass through one main function that manage db requests.
Commented AutoMigrate functions, it emits warning when you execute it after having migrated once
Changing from plain sql queries to GORM for better maintenance and stability
Use of Models for database tables and added JSON objects
Cleaned a bit the code and added some comments in the files