Improved documentation about code structure improvement. Removed link to background theory as the theory is quite messy.