refactor LdpCreator class into LdpWriter class; tweak some LdpWriter method names; put LdpWriter class method specs in separate file