Base Logic (GUI + Parser)