Adding knowledge base funcitonaility
Resources feature and other misc fixes