moved all class and function files to one directory