Created initial database and basic redirection

* database files are now stored in sql/
* implemented basic redirect route