Refactored blocks'vector classes and added autodelete lines