The ‘Peaky Blinders’ creator talks about class and moving on from Dickens