Adding namespace support.
Making earmark self-hosted build.#6