sorted out gitignore and moved pointers into their own file