refactoring database
Merge branch 'master' of https://github.com/RadioactiveGangsters/RIDServer
added lint and pedantic checks
refactored connection to work as function instead of main