remove acewrapper.hpp
refactor code