Revert "change main project type to library"

This reverts commit ab13da8ea902274c7a0c73ec8394fb07b9cc9aa8.