Added timer class, switched to static libraries - threads are now available and also no more java code