added gitignore, readme, and frame limit function.