Working on simplifying this library, reducing redundant code and just making it more lean.