Seperated Services from views code