created a logic folder for the old, separate logic function files