Refactoring agent instantiation, boot and wake services. Still todo: booting from State, split agent configs over multiple State-files. (1/2)