Config and schema working. Events system started.
Cleanup of init and length handling.