updated readme, cleaned up logic and style files