fixed errors and added color and file structue