refactored out shaders and main file
fixed EOF bug