add a developer mode config and did a final tidy up