Added a admin interface and perfected the DHP core