remove obsolete code
Add init method to Segments and Effects