Initial Commit. Modified MegaTF CE source