added License, refactored Ardent class