Many bugfixes. Added dynamic handler importing.

Should work now.