Split up Syntax and main