Add Object implementation and objects manager. Correct message system. Some refactoring.