cleaned up code and added basic code style guidelines