Updated project file to support different projects.

  * Refactored logic for issue #4.
  * Supported application projects.
  * Supported library projects.
Removed use of shellescape for issue #4.
Updated project building logic for issue #4.