Replace all initialize with constructor. Close #296