Infrastructure revision

Refactored Rectangle and Vector structs;
Develop logic

Removed logic from entities properties;