Documentation

Added some documentation for main files