Build system (apply cmake-init)

Please check if I forgot anything from cmake-init. Also please test if deploy and find script are working correctly.