Fixed parsing errors and other small errors
Moved some parts of the implode to separate files
Removed all follow restrictions coming from SDF