Add database sql scripts
Added simple list of latest lecture notes from database
Fix pretty url