Move frames code
Add sphinx documentation
Update gitignore