Impled the task #16 "borrow limit" with hard coded.

Refactored some classes.