added blocks logic;
Merge branch 'master' of github.com:Gurio/Impulse