SQLite added + Exception handling

- SQLite functions and database added
- Exceptions are being handled