Added some style and saving database