Added main file to repository.

Not yet functioning, needs restructure for operational status.