Creating an Update system

The start of an update system and some general style fixes