First commit of source files

Definitions of core data structures
Implementations of essential functions
Basic inline documentation
Update gitignore
Fully buildable commit

Added automake build infrastructure
C resources compilable
Updated gitignore to deal with automake leftovers