separating classes from application file