Moved the main functionality to main. Catch interrupts now as well as ensure the connection is closed.
Added close and cursor functions.
Changed acquiring connection.
Began implementation of prescription adding. Finds patitient and tests they cannot take so far.'