First Commit. Base functions done.