Changed url routing and db settings