implement api get_available_items
fix api get_available_items
fix api get_available_items
optimize template step 1
optimize template step 2
optimize template step 3
optimize template step 4
optimize template step 5
optimize template step 6
optimize template step 7
optimize template step 7
optimize template step 7
optimize template step 8
optimize template step 9
optimize template step 9
small fixes
Merge pull request #17 from ppolushkin/speed_up

Speed up