start seperate class and resoures