Barkley: review code style

Issue #55