separate files into different classes