Changed the startup method
Added classes to hold every variables