Fix redefinition error
Print OK if input has no expression
Cleaned up error parsing
Restructure dirs