adding html and controller for loan calculator