Frontend: Adding resize as a library