how to become a legal entity