Added Libraries folder and moved library code there.