switched to rendering slim and implemented Invoice class for rendering values