Adding libsophie and sophiecontrol base