1. 14, 15 - fixed bug.
2. 14, 15, 21 - move common functions to loader