Edited settings, added admin functionality and setup base urls.