Modeling particle acceleration and non-thermal emission in supernova remnants