[28-06-13] Abstraction layer 3 added. Pseudocode for main function added.