- split stack to stack and vector;
 - new package for exceptions;
 - new tests in main.