add init method, implement noConflict mode, tests