Add initialize function and lazy initialization
Update readme in both languages with new functions
merge lazy load
make lazy load thread safe