Refactor all SQL in Controller

Fix #3
Create README.md

Fix #9
Implement const correctness for jc Classes
Implement jc devices for connected devices

Close #7