replace init by initserver
add one object
re factory functions name with object
add objects accessor