Add filters to controller

As discussed in #12 , this is proposed update.