implemented style files, added separate library for syles.