Checkout/checkin functionality for assets

Need to refactor a bit and add to licenses as well