add deployment interface, update file handling