Refactoring and creation of Tetrimino.