complete tag model and begin work on frontend view