Librarys

Added a better version of the input library.