Corrected padding method to the beginning of the message.
Started to add components for 2D model