Revert "initial port"

This reverts commit 45018809da286d652cde31571c88dca4793ddafc.
first stage done? decided to keep the license because I don't know anything about licensing, just in case