add texture atlas class and file handling