Replacing all queries with prepared statements in API class. #278
Add support for downloads page in routing.