code cleanup

creating Asset model object