Added requirements logic

Added requirements logic. Add some comments to configs