Added status reporting and moved constants to their own file