added declarations and couple files got to build