better organization

I separated this App onto diferents files for better organitzation