Added base far code, and renamed files to lib

Keep in mind, these lib files are a mix of pseudo and real-code until
properly tested, fixed, and finished.