Restructure code base and implement web admin interface.