First code commit

Added preexisting code and license information