Simplified Main Class. Separated Classes.