Finished basic styling
Added flags and ajax saving