added shared library, rebar structure fixed