Added features and cleaned up Automake.
Added build target for static library.
Added hints to the C code.