revamped result storage and .css and stuff