code cleanup to fit closer to the kohana framework guidelines and be more readable