Organized codes & added comments to configs