Implemented serial baud rate as a setting and fixed some checkstyle