lib directory properly added to @INC array, also added skeleton castle implmentation