Removed sdf file and changed the input handling functions a bit